import request from '@/router/axios'

export function fetchWxEvaluateLinkList(query) {
  return request({
    url: '/mp/wxevaluatelink/page',
    method: 'get',
    params: query
  })
}

export function addWxEvaluateLinkObj(obj) {
  return request({
    url: '/mp/wxevaluatelink',
    method: 'post',
    data: obj
  })
}

export function getWxEvaluateLinkObj(id) {
  return request({
    url: '/mp/wxevaluatelink/' + id,
    method: 'get'
  })
}

export function delWxEvaluateLinkObj(id) {
  return request({
    url: '/mp/wxevaluatelink/' + id,
    method: 'delete'
  })
}

export function putWxEvaluateLinkObj(obj) {
  return request({
    url: '/mp/wxevaluatelink',
    method: 'put',
    data: obj
  })
}
